﻿﻿using System;
using System.Collections.Generic;
using System.Text;
namespace WebApplication1.DDD.Models.Entity.ConnectionString_SQLSERVER
{
    public class Cj_Share:NFinal.Struct
    {
		public System.Int32? id {get;set;}
		public System.Int32? activity_id {get;set;}
		public System.String OpenID {get;set;}
		public System.DateTime? share_time {get;set;}
		public System.Int32? gz_num {get;set;}
		public System.String memoa {get;set;}
		public System.String memob {get;set;}
		public System.String memoc {get;set;}
		#region 写Json字符串
		public override void WriteJson(System.IO.TextWriter tw)
		{
			tw.Write("{");
					tw.Write("\"id\":");
					tw.Write(id==null?"null" : id.ToString());
					tw.Write(",");
					tw.Write("\"activity_id\":");
					tw.Write(activity_id==null?"null" : activity_id.ToString());
					tw.Write(",");
					tw.Write("\"OpenID\":");
					tw.Write("\"");
					tw.Write(OpenID==null?"null":OpenID);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"share_time\":");
					tw.Write("\"");
					tw.Write(share_time==null?"null":share_time.ToString());
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"gz_num\":");
					tw.Write(gz_num==null?"null" : gz_num.ToString());
					tw.Write(",");
					tw.Write("\"memoa\":");
					tw.Write("\"");
					tw.Write(memoa==null?"null":memoa);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"memob\":");
					tw.Write("\"");
					tw.Write(memob==null?"null":memob);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"memoc\":");
					tw.Write("\"");
					tw.Write(memoc==null?"null":memoc);
					tw.Write("\"");
			tw.Write("}");
		}
		#endregion
    }
}
